//
//  LCFUIGlobel.h
//  lcf-newproject
//
//  Created by yangyang on 14-11-11.
//  Copyright (c) 2014年 yang. All rights reserved.
//

#import <Foundation/Foundation.h>
//UI创建的公共类
@interface LCFUIGlobel : NSObject

//创建UIButton的类方法
+(UIButton *)createButtonWithController:(id)viewController
                              WithFrame:(CGRect)frame
                              withTitle:(NSString *)title
                              imageName:(NSString *)imageName
                      selectedImageName:(NSString *)selectedImageName
                             withAction:(SEL)action;
//创建UIBarButtonItem的类方法
+(UIBarButtonItem *)createBarButtonItemWithController:(id)viewController
                                                Title:(NSString *)title
                                            withFrame:(CGRect)frame
                                  withNormalImageName:(NSString *)normalImageName
                                withSelectedImageName:(NSString *)selectedImageName
                                           withAction:(SEL)action
                                               isLeft:(BOOL)isLeft;

//创建UILabel的类方法
+(UILabel *)createLabelWithTitle:(NSString *)title
                       withFrame:(CGRect)frame
                    withFontType:(NSString *)fontType
                    withFontSize:(CGFloat)fontSize
                   withFontColor:(UIColor *)fontColor
                      isNeedBold:(BOOL)isbold;
@end
